package com.cutJar.core.impl;

import java.io.BufferedWriter;

import com.cutJar.Exception.ResourceNullException;
import com.cutJar.core.DefMachining;
import com.cutJar.util.CharStream;
import com.cutJar.util.Resource;

/**
 * <b>DefMachiningImpl 自定义加工class文本信息 实施类</b>
 * <p>
 * 描述:<br>
 * @author 威 
 * <br>2018年3月
 * @see com.cutJar.core.DefMachining
 * @since 1.0
 */
public class DefMachiningImpl extends DefMachining {
	
	protected BufferedWriter getTempStream() throws ResourceNullException {
		BufferedWriter tempBw;
		tempBw = CharStream.getWrite(Resource.getResource("pre", "temp.txt"));
		return tempBw;
	}
	
	protected BufferedWriter getTargetStream() throws ResourceNullException {
		BufferedWriter bw;
		bw = CharStream.getWrite(Resource.getResource("pre", dectoryName+".txt"));
		return bw;
	}
}
